#include<stdio.h>

int main()
{
    int num[10]={10,8,8,6,6,5,4,3,2,1},count=0,nump;
    int *p=&num,*np=&nump;
    scanf("%d",np);
    for(int i=0;i<10;i++)
    {
        if(*(p+i)==*(np)){
            count++;
        }
    }
    printf("data=%d,count=%d.",*np,count);
}